package com.example.sys.wx.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Getter
@Setter
@Configuration
@ConfigurationProperties(prefix = "wechat.open")
public class WechatOpenProperties {
    /**
     * 设置微信三方平台的appid
     */
    private String appId;

    /**
     * 设置微信三方平台的app secret
     */
    private String secret;

    /**
     * 设置微信三方平台的token
     */
    private String token;

    /**
     * 设置微信三方平台的EncodingAESKey
     */
    private String aesKey;

    //欢迎词
    private String subtext;

    //告别词
    private String unSubtext;

    //公众号授权key
    private String key;

    //公众号授权value
    private String value;
}
